import { component$ } from "@builder.io/qwik";
import { isDev } from "@builder.io/qwik/build";
import {
QwikCityProvider,
RouterOutlet,
ServiceWorkerRegister,
} from "@builder.io/qwik-city";
import { RouterHead } from "./components/router-head/router-head";
import "./global.css";
export default component$(() => {
return (
<QwikCityProvider>
<head>
<meta charset="utf-8" />
{!isDev && (
<link
rel="manifest"
href={`${import.meta.env.BASE_URL}manifest.json`}
/>
)}
<RouterHead />
{!isDev && <ServiceWorkerRegister />}
</head>
<body lang="en">
<RouterOutlet />
</body>
</QwikCityProvider>
);
});